From 7c515a0c4e73b504f51ffb546f9ab8ba525b9170 Mon Sep 17 00:00:00 2001 From: Evgen Druzhynin Date: Wed, 17 May 2017 16:15:11 +0300 Subject: [PATCH] Update login paragraph in crates-io docs. --- src/doc/crates-io.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/doc/crates-io.md b/src/doc/crates-io.md index 8e9a5269b..ba4d2b7da 100644 --- a/src/doc/crates-io.md +++ b/src/doc/crates-io.md @@ -21,7 +21,8 @@ $ cargo login abcdefghijklmnopqrstuvwxyz012345 ``` This command will inform Cargo of your API token and store it locally in your -`~/.cargo/config`. Note that this token is a **secret** and should not be shared +`~/.cargo/credentials` (previously it was `~/.cargo/config`). +Note that this token is a **secret** and should not be shared with anyone else. If it leaks for any reason, you should regenerate it immediately. -- 2.30.2